﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Face.Web.login_and_signup.login2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Post 90s Museum - Remember your memory.</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/css/_dynamic7.css"
        rel="stylesheet" media="screen" />
    <link href="/css/_dynamic8.css" rel="stylesheet"
        media="screen" />
    <!--[if lte IE 7]>
        <link href="//app.gathercontent.com/assets/css/ie7/_dynamic.php?v=1363012163" rel="stylesheet" media="screen" />
        <![endif]-->
    <link rel="shortcut icon" href="/img/gathercontent-fav-16px-2.png">
    <script type="text/javascript" src="../js/MD5.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>
<body>
<!--[if lte IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> and <strong>insecure</strong> browser. Please <a href="http://browsehappy.com/" target="_blank">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true" target="_blank">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->
    <div class="notification-bar ajax-notification-bar">
        <button class="close">
            &times;</button></div>
    <div class="wrapper ajax-wrapper">
        <div class="login-wrapper">
            <div class="logo">
                <div class="custom-logo">
                    <div>
                        <a href="/index.aspx">
                            <img src="/img/logo.png" alt="/index.aspx"></a>
                    </div>
                </div>
            </div>
            <div class="well-white bottom20px">
                <div class="page-header">
                    <h1>
                        登陆</h1>
                </div>
                <div class="padding20px form">
                    <form id="form" runat="server">
                    <asp:Label ID="Label1" runat="server" Text="用户名" Style="text-align: justify"></asp:Label>
                    <asp:TextBox ID="username" runat="server" TextMode="SingleLine" ></asp:TextBox>
                    <asp:Label ID="Label2" runat="server" Text="密码"></asp:Label>
                    <asp:TextBox ID="password" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:Label ID="Label3" runat="server" Text="验证码"></asp:Label>
                    <asp:TextBox ID="txtCheckCode" runat="server" Width="91px"></asp:TextBox><img src="CheckImage.aspx" alt="校验码" style="margin-left:20px"/>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtCheckCode"
                        ErrorMessage="校验码必填"></asp:RequiredFieldValidator>
          

                    <div class="cf">
                        <div class="left">
                           <asp:Button ID="loginButton" runat="server" Text="登录" class="btn btn-success" 
                                onclick="loginButton_Click" />
                            <a class="btn btn-success" href="signup.aspx">注册</a>
                        </div>
                        <div class="right">
                        </div>
                        
                    </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        protocol = "https:";
    </script>
    <script type="text/javascript" src="//app.gathercontent.com/assets/js/global/_dynamic.php?v=1367937526"></script>
    <script type="text/javascript" src="//app.gathercontent.com/assets/js/login/_dynamic.php?v=1361981851"></script>
    <script type="text/javascript" charset="utf-8">
        BAROMETER.load('qA9kpd28xGaPtGDEnmMFx');
    </script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#password').blur(function () {
                var pass = $('#password').val();
                //alert(hex_md5(pass));
                if (pass!="") {
                    $('#password').val(hex_md5(pass))
                }
            });
        });
    </script>
</body>
</html>
